home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Prograph Classic 2.6.1 / Examples / Utilities / Instance Finder ƒ / Instance Finder.ReadMe < prev   
Text File  |  1994-10-21  |  1KB  |  20 lines

  1. Example:       Instance Finder
  2. Author:         Prograph International (Ehric Ho)
  3. Contents:      Instance Finder.pgs
  4.                     Instance Finder.ReadMe
  5.  
  6. Needs Prograph Extensions:
  7.                     Math Primitives
  8.                     More Primitives
  9.                     Primitives
  10.  
  11. Needs Libraries to Compile:
  12.                     Library 2.6
  13.  
  14. Description
  15. -----------
  16.    Have you ever tried to delete a class and gotten the message "Class cannot be deleted because instances of the class exist"?  Then you can't find an instance of it anywhere, but you know it must be hiding somewhere?  This Instance Finder is a utility that prompts you for a class name, then searches default instances, class variables and persistents to find all instances of that class.  It makes extensive use of the System primitives (attributes, classes, persistents) and the Type primitives (instance?, list?).
  17.  
  18. How To Use This In Your Program
  19. -------------------------------
  20.    Selectively load the class "Instance Finder" into your file.  Execute the method "do it".